/*
 * Copyright (c) 2017. 深圳一七科技. All rights reserved.
 */

package com.yiqi.liebang.feature.order.dependencies.topicinfo;



import com.yiqi.liebang.feature.order.contract.TopicContract;
import com.yiqi.liebang.feature.order.contract.TopicInfoContract;
import com.yiqi.liebang.feature.order.presenter.TopicInfoPresenter;
import com.yiqi.liebang.feature.order.presenter.TopicOrderPresenter;

import dagger.Module;
import dagger.Provides;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2018/7/11 9:27
 */
@Module
public class TopicInfoPresenterModule {
    private final TopicInfoContract.View mView;

    public TopicInfoPresenterModule(TopicInfoContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public TopicInfoContract.Presenter provideTopicInfoOrderPresenter(){
        return  new TopicInfoPresenter(mView);
    }

}
